package com.xbongbong.paas.pojo.workflow.nodes.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author 吴峰
 * @date 2021/06/17 16:12
 */
@Getter
@Setter
@ToString
public class WorkflowNodeUpdateDTO extends BaseDTO {


    private static final long serialVersionUID = 3965525451924290174L;
    @NotNull(message = "{dto.msg.workflowNodeId.NotNull}")
    private Long workflowNodeId;

    @Length(max = 500, message = "{dto.msg.WorkflowNodeUpdateDTO.memo.Length}")
    private String memo;

    @Length(max = 50, message = "{dto.msg.WorkflowNodePojo.name.Length}")
    private String name;
}
